JavaScript

listObj.resetForm Method

Syntax

listObj.resetForm([options]);

Arguments

optionsJSON Object

A JSON object of optional properties. Available options listed below:

promptboolean

true/false - If true, prompts for confirmation before resetting the form.

Description

Resets the Detail View controls for a List Control.

Example

var listObj = {dialog.object}.getControl("LIST1");

if (listObj) {
    var opts= {};
    opts.prompt = false;

    listObj.resetForm(opts);
}

Limitations

List Control with Detail View Part

See Also